.ant-tabs{
  .ant-tabs-nav {
    border-color: @selected-bg;
    &::before {
      border-color:@general-66;
    }
    .ant-tabs-tab {
      color: @common-font;
      &-active {
        color: @selected-font;
        .ant-tabs-tab-btn {
          color:  @selected-font;
        }
      }
      .ant-tabs-tab-btn {
        &:active {
          color: @general-36;
        }
      }
      &:hover{
        // color: @selected-bg;
      }
    }
  }
  .ant-tabs-ink-bar{
    background-color: @selected-bg
  }
  .ant-tabs-nav-more{
    color: @common-font;
  }
  .ant-tabs-content-holder {
    border-color: @selected-border;
  }
  .ant-tabs-tabpane{
    overflow: scroll;
  }
}
.ant-tabs-dropdown{
  background-color: @common-bg;
  .ant-tabs-dropdown-menu{
    background-color: @common-bg;
  .ant-tabs-dropdown-menu-item{
    color: @common-font;
  }
  .ant-tabs-dropdown-menu-item-active{
    background-color: @selected-bg;
  }
  }
}

.ant-tabs-card {
  .ant-tabs-nav {
    &::before {
      border-color: @selected-bg;
    }
    .ant-tabs-tab {
      background: @common-bg;
      color: @common-font;
      &-active {
        background: @selected-bg;
        .ant-tabs-tab-btn {
          color:@selected-font;
        }
      }
      .ant-tabs-tab-btn {
        &:active {
          color: @general-36;
        }
      }
    }
  }
  .ant-tabs-content-holder {
    border-color: @selected-bg;
  }
}

.ant-tabs{
  max-height: 100%;
  height: 100%;
  .ant-tabs-nav{
    margin: 0;
  }
  .ant-tabs-extra-content {
    flex: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }
}

.ant-tabs-card { 
  .ant-tabs-nav-list {
    align-items: center;
    .ant-tabs-tab {
      user-select: none;
      border: none;
    }
  }
}

.ant-tabs-top{
  .ant-tabs-content-holder {
    height: calc(100% - 36px);
    .ant-tabs-content{
      height: 100%;
      .ant-tabs-tabpane{
        max-height: 100%;
      }
    }
  }
  .ant-tabs-tab {
    &:first-child {
      margin-left: 3px;
    }
  }
}

.ant-tabs-left {
  height: auto;
  .ant-tabs-nav{
    border-width: 2px;
    border-right-style: solid;
  }
  .ant-tabs-extra-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .ant-tabs-nav-wrap{
    padding: 0;
    .ant-tabs-nav-list {
      min-width: 85px;
      .ant-tabs-tab{
        padding: 0 24px;
        &:first-child {
          margin-top: 3px;
        }
      }
    }
  }
 
  .ant-tabs-content-holder {
    border: none;
    .ant-tabs-content {
      margin-left: 5px;
      .ant-tabs-tabpane{
        padding-left: 0;
      }
    }
  }
}

.ant-tabs-small {
  .ant-tabs-nav-wrap{
    height: 36px;
  }
  .ant-tabs-nav{
    .ant-tabs-tab {
      padding: 0 10px;
      line-height: 24px;
      font-size: 14px;
    }
  }
}

.ant-tabs-card.ant-tabs-small{
  .ant-tabs-nav {
    .ant-tabs-tab {
      padding: 0 20px;
    }
  }
}

